.storeDetail {
  background-color: #f8f9fa;
  min-height: calc(100vh - 60px);
  width: 100%;
  position: relative;
}

.loadingContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  gap: 20px;
}

.backButton {
  z-index: 10;
}

.backButton:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.storeImageBanner {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.storeImageBanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.storeContent {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.storeHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.storeHeader h1 {
  font-size: 32px;
  color: #333;
  margin: 0;
}

.storeRating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-filled {
  color: #ffd700;
}

.star-empty {
  color: #e0e0e0;
}

.ratingNumber {
  font-size: 20px;
  color: #666;
  margin-left: 8px;
}

.storeInfo {
  margin-bottom: 40px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.infoItem {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.infoItem:last-child {
  margin-bottom: 0;
}

.infoItem label {
  font-weight: 600;
  color: #666;
  width: 120px;
  flex-shrink: 0;
}

.infoItem span {
  color: #333;
  line-height: 1.6;
  flex: 1;
}

.reviewSection {
  margin-top: 40px;
  scroll-margin-top: 20px;
}

.reviewSection .reviewHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.reviewSection h2 {
  font-size: 24px;
  color: #333;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #1976d2;
  display: inline-block;
}

.reviewCount {
  color: #666;
  font-size: 16px;
}

.reviewList {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.reviewItem {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.reviewItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reviewHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.reviewUser {
  display: flex;
  flex-direction: column;
}

.userName {
  font-weight: 600;
  color: #333;
}

.reviewDate {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.reviewRating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reviewRating .MuiSvgIcon-root {
  font-size: 18px;
}

.reviewContent {
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.paginationContainer {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background-color: white;
  border-top: 1px solid #eee;
}

.addReviewSection {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.addReviewSection h3 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 18px;
}

.ratingInput {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.ratingInput label {
  margin-right: 10px;
  color: #666;
}

.starRating {
  display: flex;
  gap: 4px;
}

.reviewInput {
  margin-bottom: 15px !important;
}

.submitButton {
  margin-top: 10px !important;
}

.businessCard {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 300px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  z-index: 100;
}

.businessCard:hover {
  transform: translateY(-5px);
}

.businessIcon {
  font-size: 40px !important;
  color: #1976d2;
  margin-bottom: 10px;
}

.businessCard .MuiCardContent-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px !important;
}

.businessCard h2 {
  margin: 10px 0;
  color: #333;
}

.businessCard .MuiTypography-colorTextSecondary {
  margin-bottom: 20px;
}

.joinButton {
  width: 100%;
  padding: 10px !important;
}

@media (max-width: 768px) {
  .storeContent {
    margin: 0;
    border-radius: 0;
    padding: 20px;
  }

  .storeHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .reviewSection .reviewHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .infoItem {
    flex-direction: column;
  }

  .infoItem label {
    width: 100%;
    margin-bottom: 5px;
  }

  .paginationContainer {
    padding: 15px 0;
  }

  .businessCard {
    position: static;
    width: 100%;
    margin-top: 30px;
  }

  .addReviewSection {
    padding: 15px;
  }
} 